using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._FeatureBinning
{
    /// <summary>
    /// <para>Disable Feature Binning</para>
    /// <para>Disables feature binning on a feature class.</para>
    /// <para>禁用要素类上的要素图箱。</para>
    /// </summary>    
    [DisplayName("Disable Feature Binning")]
    public class DisableFeatureBinning : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public DisableFeatureBinning()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_features">
        /// <para>Input Features</para>
        /// <para>The feature class for which feature binning will be disabled.</para>
        /// <para>将禁用其要素分箱的要素类。</para>
        /// </param>
        public DisableFeatureBinning(object _in_features)
        {
            this._in_features = _in_features;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Disable Feature Binning";

        public override string CallName => "management.DisableFeatureBinning";

        public override List<string> AcceptEnvironments => ["workspace"];

        public override object[] ParameterInfo => [_in_features, _out_features];

        /// <summary>
        /// <para>Input Features</para>
        /// <para>The feature class for which feature binning will be disabled.</para>
        /// <para>将禁用其要素分箱的要素类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_features { get; set; }


        /// <summary>
        /// <para>Updated Features</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Features")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_features { get; set; }


        public DisableFeatureBinning SetEnv(object workspace = null)
        {
            base.SetEnv(workspace: workspace);
            return this;
        }

    }

}